From: Arve Hjønnevåg Date: Fri, 2 Mar 2018 18:10:00 +0000 (-0800) Subject: trusty: Fix another reported misra violation X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=2686f9fdc38b7b2033def9cc1e5f7ff5bfb5dc54;p=project%2Fbcm63xx%2Fatf.git trusty: Fix another reported misra violation Change-Id: I822ccf5852dce4c01f98382cc393331f29e1e256 --- diff --git a/services/spd/trusty/trusty.c b/services/spd/trusty/trusty.c index 6d9cc28a..d6e57267 100644 --- a/services/spd/trusty/trusty.c +++ b/services/spd/trusty/trusty.c @@ -412,7 +412,7 @@ static int32_t trusty_setup(void) if (instr >> 24 == 0xeaU) { INFO("trusty: Found 32 bit image\n"); aarch32 = true; - } else if (instr >> 8 == 0xd53810 || instr >> 16 == 0x9400) { + } else if (instr >> 8 == 0xd53810U || instr >> 16 == 0x9400U) { INFO("trusty: Found 64 bit image\n"); } else { NOTICE("trusty: Found unknown image, 0x%x\n", instr);